import { loadSync, Type } from "protobufjs";
import path from 'path';

let gjvideoPath = path.join(__dirname,"./gjvideo.proto");
const gjvideo = loadSync(gjvideoPath);
export const StreamInfo: Type = gjvideo.lookupType("gjvideo.StreamInfo");
export const StreamData: Type = gjvideo.lookupType("gjvideo.StreamData");